<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
class Debugshow
{
  static private $showcount=0;
  static public function show($content)
  {
    global $_G;
    if(!$_G['site_debug'])
    {
       return FALSE;
    }
    echo "<div id='debug'".Debugshow::$showcount." style='color:red;background-color:#eef2f3;border:1px solid #e7e7e7;border-radius:5px 5px;padding:5px 10px;font-size:14px;margin-bottom:10px;'>".$content."</div>";
    Debugshow::$showcount++;
  }
}

